package com.alks.function.service.finance.salary;

import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.request.finance.salary.PcCostDetail2AddRequest;
import com.alks.function.data.request.finance.salary.PcCostDetail2Request;
import com.alks.function.data.request.finance.salary.PcCostDetail2UpdateRequest;
import com.alks.function.data.request.finance.salary.PcCostTypeRequest;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface
SubsidyDeductionService {
    ResponseInfo SubsidyDeductionQuery(PcCostDetail2Request request);

    ResponseInfo InspectionWork(PcCostDetail2Request request, Integer choose);

    ResponseInfo DeductionDefinition(Integer flag);

    ResponseInfo pcCostTypeAdd(PcCostTypeRequest request);

    ResponseInfo pcCostTypeDel(PcCostTypeRequest request);

    ResponseInfo getEmployeeList();

    ResponseInfo PcCostDetail2Add(PcCostDetail2AddRequest request);

    ResponseInfo PcCostDetail2Update(String id);

    ResponseInfo PcCostDetail2Del(List<Integer> ids);

    ResponseInfo PcCostDetail2Update2(List<PcCostDetail2UpdateRequest> list, Integer choose);

    void PcCostDetail2Export(PcCostDetail2Request request, HttpServletResponse response);

    ResponseInfo PcCostDetail2Import(MultipartFile file,PcCostDetail2AddRequest request);

    ResponseInfo PcCostDetail2UpdateRemarkCw(String remarkCw, Integer id);

    /**
     * 越南考勤生成补贴扣款
     * @param yearMonth 年月，例 202501
     * @return
     */
    ResponseInfo attendToSubsidyDeductionVNM(String yearMonth);
}
